import request from '@/utils/request'

export function getPartApis(params) {
  return request({
    url: '/part-api/index',
    method: 'get',
    params: params
  })
}

export function getPartApi(params) {
  return request({
    url: '/part-api/view',
    method: 'get',
    params: params
  })
}

export function CreatePartApi(data) {
  return request({
    url: '/part-api/create',
    method: 'post',
    data: data
  })
}

export function UpdatePartApi(data) {
  return request({
    url: '/part-api/update',
    method: 'post',
    data: data
  })
}
